package com.wing.device.model.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.wing.mybatis.common.BaseEntity;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * @version 1.1.0
 * @Author hz
 * @Date 2024-08-19 17:15
 **/
@Data
@NoArgsConstructor
@Accessors(chain = true)
@TableName("pro_maintenance_type")
public class MaintenanceType extends BaseEntity<MaintenanceType> implements Serializable {

    //任务性质
    private String taskNature;
    //名称和
    private String name;
    //类别编码
    private String no;

    private Long departmentId;

    private Long postId;

    @TableField(exist = false)
    private String postName;

    @TableField(exist = false)
    private String departmentName;

    //任务性质名称
    @TableField(exist = false)
    private String taskNatureName;

}
